// Package epcategory
// @Link  https://github.com/bufanyun/hotgo
// @Copyright  Copyright (c) 2024 HotGo CLI
// @Author  Ms <133814250@qq.com>
// @License  https://github.com/bufanyun/hotgo/blob/master/LICENSE
// @AutoGenerate Version 2.15.7
package epcategory

import (
	"hotgo/addons/hgexample/model/input/sysin"
	"hotgo/internal/model/input/form"

	"github.com/gogf/gf/v2/frame/g"
)

// ListReq 查询物品分类列表
type ListReq struct {
	g.Meta `path:"/epCategory/list" method:"get" tags:"物品分类" summary:"获取物品分类列表"`
	sysin.EpCategoryListInp
}

type ListRes struct {
	form.PageRes
	List []*sysin.EpCategoryListModel `json:"list"   dc:"数据列表"`
}

// ViewReq 获取物品分类指定信息
type ViewReq struct {
	g.Meta `path:"/epCategory/view" method:"get" tags:"物品分类" summary:"获取物品分类指定信息"`
	sysin.EpCategoryViewInp
}

type ViewRes struct {
	*sysin.EpCategoryViewModel
}

// EditReq 修改/新增物品分类
type EditReq struct {
	g.Meta `path:"/epCategory/edit" method:"post" tags:"物品分类" summary:"修改/新增物品分类"`
	sysin.EpCategoryEditInp
}

type EditRes struct{}

// DeleteReq 删除物品分类
type DeleteReq struct {
	g.Meta `path:"/epCategory/delete" method:"post" tags:"物品分类" summary:"删除物品分类"`
	sysin.EpCategoryDeleteInp
}

type DeleteRes struct{}